package com.jhgsys.internal.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jhgsys.internal.system.entity.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author MrBird
 */
public interface DeptMapper extends BaseMapper<Dept> {
    /**
     * 递归删除部门
     *
     * @param deptId deptId
     */
    //void deleteDepts(String deptId);


    /**
     * 部门excel导出
     *
     * @param dept
     * @author qiny
     * @date 2019-07-24
     */
    List<Dept> exportDepts(@Param("dept") Dept dept);

    List<Dept> selectDeptList(@Param("dept") Dept dept);
}
